Integrand size = 26, antiderivative size = 77 \[ \int \frac {\cot ^6(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\frac {\cot (e+f x) \csc ^2(e+f x)}{3 a f \sqrt {a \cos ^2(e+f x)}}-\frac {\cot (e+f x) \csc ^4(e+f x)}{5 a f \sqrt {a \cos ^2(e+f x)}} \]
[Out]
Time = 0.18 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {3255, 3286, 2686, 14} \[ \int \frac {\cot ^6(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\frac {\cot (e+f x) \csc ^2(e+f x)}{3 a f \sqrt {a \cos ^2(e+f x)}}-\frac {\cot (e+f x) \csc ^4(e+f x)}{5 a f \sqrt {a \cos ^2(e+f x)}} \]
[In]
[Out]
Rule 14
Rule 2686
Rule 3255
Rule 3286
Rubi steps \begin{align*} \text {integral}& = \int \frac {\cot ^6(e+f x)}{\left (a \cos ^2(e+f x)\right )^{3/2}} \, dx \\ & = \frac {\cos (e+f x) \int \cot ^3(e+f x) \csc ^3(e+f x) \, dx}{a \sqrt {a \cos ^2(e+f x)}} \\ & = -\frac {\cos (e+f x) \text {Subst}\left (\int x^2 \left (-1+x^2\right ) \, dx,x,\csc (e+f x)\right )}{a f \sqrt {a \cos ^2(e+f x)}} \\ & = -\frac {\cos (e+f x) \text {Subst}\left (\int \left (-x^2+x^4\right ) \, dx,x,\csc (e+f x)\right )}{a f \sqrt {a \cos ^2(e+f x)}} \\ & = \frac {\cot (e+f x) \csc ^2(e+f x)}{3 a f \sqrt {a \cos ^2(e+f x)}}-\frac {\cot (e+f x) \csc ^4(e+f x)}{5 a f \sqrt {a \cos ^2(e+f x)}} \\ \end{align*}
Time = 0.11 (sec) , antiderivative size = 41, normalized size of antiderivative = 0.53 \[ \int \frac {\cot ^6(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=-\frac {\cot ^3(e+f x) \left (-5+3 \csc ^2(e+f x)\right )}{15 f \left (a \cos ^2(e+f x)\right )^{3/2}} \]
[In]
[Out]
Time = 0.66 (sec) , antiderivative size = 47, normalized size of antiderivative = 0.61
method | result | size |
default | \(\frac {\cos \left (f x +e \right ) \left (5 \left (\sin ^{2}\left (f x +e \right )\right )-3\right )}{15 a \sin \left (f x +e \right )^{5} \sqrt {a \left (\cos ^{2}\left (f x +e \right )\right )}\, f}\) | \(47\) |
risch | \(-\frac {8 i \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \left (5 \,{\mathrm e}^{6 i \left (f x +e \right )}+2 \,{\mathrm e}^{4 i \left (f x +e \right )}+5 \,{\mathrm e}^{2 i \left (f x +e \right )}\right )}{15 \left ({\mathrm e}^{2 i \left (f x +e \right )}-1\right )^{5} f \sqrt {\left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )^{2} a \,{\mathrm e}^{-2 i \left (f x +e \right )}}\, a}\) | \(94\) |
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.97 \[ \int \frac {\cot ^6(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=-\frac {\sqrt {a \cos \left (f x + e\right )^{2}} {\left (5 \, \cos \left (f x + e\right )^{2} - 2\right )}}{15 \, {\left (a^{2} f \cos \left (f x + e\right )^{5} - 2 \, a^{2} f \cos \left (f x + e\right )^{3} + a^{2} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )} \]
[In]
[Out]
\[ \int \frac {\cot ^6(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\int \frac {\cot ^{6}{\left (e + f x \right )}}{\left (- a \left (\sin {\left (e + f x \right )} - 1\right ) \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1063 vs. \(2 (69) = 138\).
Time = 0.35 (sec) , antiderivative size = 1063, normalized size of antiderivative = 13.81 \[ \int \frac {\cot ^6(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\text {Too large to display} \]
[In]
[Out]
Exception generated. \[ \int \frac {\cot ^6(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Time = 19.60 (sec) , antiderivative size = 393, normalized size of antiderivative = 5.10 \[ \int \frac {\cot ^6(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=-\frac {{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\,\sqrt {a-a\,{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}^2}\,16{}\mathrm {i}}{3\,a^2\,f\,{\left ({\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}-1\right )}^2\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\right )}-\frac {{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\,\sqrt {a-a\,{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}^2}\,272{}\mathrm {i}}{15\,a^2\,f\,{\left ({\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}-1\right )}^3\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\right )}-\frac {{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\,\sqrt {a-a\,{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}^2}\,128{}\mathrm {i}}{5\,a^2\,f\,{\left ({\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}-1\right )}^4\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\right )}-\frac {{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\,\sqrt {a-a\,{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}^2}\,64{}\mathrm {i}}{5\,a^2\,f\,{\left ({\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}-1\right )}^5\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\right )} \]
[In]
[Out]